package com.changgou.comment.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:Comment构建
 * @Date 2019/6/14 19:13
 *****/
@Table(name="tb_comment")
public class Comment implements Serializable{

	@Id
    @Column(name = "id")
	private Long id;//

    @Column(name = "skuid")
	private Long skuid;//

    @Column(name = "username")
	private String username;//

    @Column(name = "comment_time")
	private Date commentTime;//

    @Column(name = "comment_picture")
	private String commentPicture;//

    @Column(name = "transport_star")
	private String transportStar;//

    @Column(name = "good_star")
	private String goodStar;//

    @Column(name = "fast_star")
	private String fastStar;//

    @Column(name = "postman_star")
	private String postmanStar;//

    @Column(name = "content")
	private String content;//

    @Column(name = "hide")
	private Integer hide;//

    @Column(name = "nice_count")
	private Long niceCount;//

    @Column(name = "haha")
	private String haha;//



	//get方法
	public Long getId() {
		return id;
	}

	//set方法
	public void setId(Long id) {
		this.id = id;
	}
	//get方法
	public Long getSkuid() {
		return skuid;
	}

	//set方法
	public void setSkuid(Long skuid) {
		this.skuid = skuid;
	}
	//get方法
	public String getUsername() {
		return username;
	}

	//set方法
	public void setUsername(String username) {
		this.username = username;
	}
	//get方法
	public Date getCommentTime() {
		return commentTime;
	}

	//set方法
	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}
	//get方法
	public String getCommentPicture() {
		return commentPicture;
	}

	//set方法
	public void setCommentPicture(String commentPicture) {
		this.commentPicture = commentPicture;
	}
	//get方法
	public String getTransportStar() {
		return transportStar;
	}

	//set方法
	public void setTransportStar(String transportStar) {
		this.transportStar = transportStar;
	}
	//get方法
	public String getGoodStar() {
		return goodStar;
	}

	//set方法
	public void setGoodStar(String goodStar) {
		this.goodStar = goodStar;
	}
	//get方法
	public String getFastStar() {
		return fastStar;
	}

	//set方法
	public void setFastStar(String fastStar) {
		this.fastStar = fastStar;
	}
	//get方法
	public String getPostmanStar() {
		return postmanStar;
	}

	//set方法
	public void setPostmanStar(String postmanStar) {
		this.postmanStar = postmanStar;
	}
	//get方法
	public String getContent() {
		return content;
	}

	//set方法
	public void setContent(String content) {
		this.content = content;
	}
	//get方法
	public Integer getHide() {
		return hide;
	}

	//set方法
	public void setHide(Integer hide) {
		this.hide = hide;
	}
	//get方法
	public Long getNiceCount() {
		return niceCount;
	}

	//set方法
	public void setNiceCount(Long niceCount) {
		this.niceCount = niceCount;
	}
	//get方法
	public String getHaha() {
		return haha;
	}

	//set方法
	public void setHaha(String haha) {
		this.haha = haha;
	}


}
